class CreatePromotores < ActiveRecord::Migration
  def self.up
    create_table :promotores do |t|
      t.column :nome, :string
      t.column :pseudonimo, :string
      t.column :entrancia, :string
    end
    
    add_column :promotorias, :promotor_id, :integer
  end

  def self.down
    drop_table :promotores
    remove_column :promotorias, :promotor_id
  end
end
